home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / IIS5_01.CAB / IIS_Form_JScript.asp < prev    next >
Encoding:
Text File  |  1998-05-29  |  1.0 KB  |  41 lines

  1. <%@ Language = JScript %>
  2.  
  3. <!*************************
  4. This sample is provided for educational purposes only. It is not intended to be 
  5. used in a production environment, has not been tested in a production environment, 
  6. and Microsoft will not provide technical support for it. 
  7. *************************>
  8.  
  9. <HTML>
  10.     <HEAD>
  11.         <TITLE>Form Posting</TITLE>
  12.     </HEAD>
  13.  
  14.     <BODY BGCOLOR="White" TOPMARGIN="10" LEFTMARGIN="10">
  15.         
  16.         <!-- Display header. -->
  17.  
  18.         <FONT SIZE="4" FACE="ARIAL, HELVETICA">
  19.         <B>Form Posting</B></FONT><BR>   
  20.  
  21.         <HR>
  22.         <P>This page will take the information entered in
  23.         the form fields, and use the POST method to
  24.         send the data to an ASP page.
  25.  
  26.         <FORM NAME=Form1 METHOD=Post ACTION="Form_JScript.asp">
  27.         
  28.             First Name: <INPUT TYPE=Text NAME=fname><P>
  29.             Last Name: <INPUT TYPE=Text NAME=lname><p>
  30.             
  31.             <INPUT TYPE=Submit VALUE="Submit">
  32.             
  33.         </FORM>
  34.  
  35.         <HR>
  36.  
  37.         <% Response.Write(Request.Form("fname")) %> <BR>
  38.         <% Response.Write(Request.Form("lname")) %>
  39.     </BODY>
  40. </HTML>
  41.